package com.simple.upms.biz.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.simple.upms.api.entity.SysMenu;
import com.simple.upms.api.vo.MenuVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 系统菜单mapper
 *
 * @author Administrator
 * @date 2021/01/04 15:43:21
 */
public interface SysMenuMapper extends BaseMapper<SysMenu> {
    /**
     * 通过角色id查询菜单列表
     *
     * @param roleId 角色id
     * @return {@link List<SysMenu>}
     */
    List<MenuVO> listMenuByRoleId(@Param("roleId") String roleId);
}
